<?php
/**
*   The initialization file for WWW applications
*/

function debug( $msg=null )
{
    Log::log( $msg, Log::DEBUG, 1 );
#    file_put_contents( "php://stderr", "DEBUG: $msg\n" );

}

// in PHP 5.4, $_SERVER[REQUEST_TIME] shall contain microseconds
define( 'YZ_TIME', microtime(true) );
require_once( './lib/Yz/Autoloader.php' );
Yz_Autoloader::init('./lib');
return Yz_Application_Web::main();

